//
//  CycleAlertBaseViewController.m
//  CycleAlertView-demo
//
//  Created by 苹果笔记本 on 2020/5/18.
//  Copyright © 2020 苹果笔记本. All rights reserved.
//

#import "CycleAlertBaseViewController.h"
#import "CycleAlertManager.h"
@interface CycleAlertBaseViewController ()

@end

@implementation CycleAlertBaseViewController
//初始化弹出基类
- (instancetype)init
{
    self = [super init];
    if (self) {
        self.modalPresentationStyle = UIModalPresentationCustom;
        self.transitioningDelegate = self.manager;
    }
    return self;
}

#pragma mark --- 初始化manager
- (CycleAlertManager *)manager {
    if (!_manager) {
        _manager = [CycleAlertManager sharedInstance];
    }
    return _manager;
}



@end
